﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;

namespace BS_2
{
    public partial class Form_BookMark : CCWin.Skin_DevExpress
    {
        Form1 f = new Form1();
        public Form_BookMark(Form1 f)
        {
            this.f = f;
            InitializeComponent();
        }

        private void tbAdmit_Click(object sender, EventArgs e)
        {
            if (f != null || tbBookmarkName.Text == "")
            {
                f.createBookmark(tbBookmarkName.Text);
            }
            this.Close();
        }
    }
}
